<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>bootstrap表单(下)</title>
    <link rel="stylesheet" href="../css/bootstrap.css">
</head>
<style>
    body{
        margin: 1%;
        padding: 2%;
    }
</style>

<body>

    <form action="" class="row">
        <div class="form-group col-6">
            <label for="username">账号</label>
            <input type="text" name="username" id="username" class="form-control">
        </div>
        <div class="form-group col-6">
            <label for="password">密码</label>
            <input type="password" name="password" id="password" class="form-control">
        </div>
        <div class="form-group col-12">
            <label for="address">地址</label>
            <textarea name="address" id="address" cols="30" rows="10" class="form-control"></textarea>
        </div>
        <div class="form-group col-4">
            <label for="state">国家</label>
            <select name="state" id="state" class="form-control">
                <option value="china">中国大陆</option>
                <option value="jp">日本</option>
                <option value="hk">中国香港</option>
            </select>
        </div>
        <div class="form-group col-4">
            <label for="city">城市</label>
            <select name="city" id="city" class="form-control">
                <option value="beijing">北京</option>
                <option value="shanghai">上海</option>
                <option value="guangzhou">广州</option>
            </select>
        </div>
        <div class="form-group col-4">
            <label for="zip">邮编</label>
            <input type="text" name="zip" id="zip" class="form-control">
        </div>
        <div class="form-group col-6">
            <label for="email">邮箱</label>
            <div class="input-group">
                <div class="input-group-prepend">
                    <span class="input-group-text">@</span>
                </div>
                <input type="email" name="email" id="email" class="form-control">
            </div>
        </div>
        <div class="form-group form-inline col-12">
            <label for="idCard">身份证:</label>
            <input type="text" name="idCard" id="idCard" class="form-control" placeholder="请输入身份证号">
            <small class="form-text text-muted">身份证信息后期不可修改</small>
        </div>
    </form>


    <script src="../js/jquery.min.js"></script>
    <script src="../js/bootstrap.bundle.min.js"></script>
</body>

</html>